Conversation
|
@alexcjohnson let's review this once shape-drawing is done :) |
|
@archmoj I just had a quick look at this - very nice! Let's not touch it until 1.54.0 is released, but as this doesn't impact features at all we can include it in a patch after that. My primary question is about the hard-coded list in
|
@alexcjohnson |
🍻 fair enough - added to #4733 so we address it before considering that issue closed. This looks great. You currently have the require statements for the mocks all commented out - can we enable the ones you've fixed already, just comment out the still-failing ones, and call this PR done? |
Done in efd8518. |
In addition to heavy cleanup and updating (by applying some non-deprecated attributes e.g. title object), this PR adds jasmine tests for validating all current mocks using
Plotly.validate.The test called
mock_testis drafted in commit 8c1a9d9 which currently bypassesundefined layout,invisible traces,coloraxis,dynamice.g.textpositionarrays.With this relaxation,
before modifying any mocks running the test resulted in
TOTAL: 1014 | FAILED: 487 | SUCCESS: 527
After updating the mocks the situation improved as listed below:
TOTAL: 1014 | FAILED: 174 | SUCCESS: 840.
@alexcjohnson
cc: @plotly/plotly_js
cc: #4733